//
//  BaseViewController.m
//
//  Created by Northwan on 15/4/12.
//  Copyright (c) 2015年 长沙市岳麓区立早网络科技有限公司.. All rights reserved.
//

#import "BaseViewController.h"

@interface BaseViewController ()
@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //处理NavigationBar遮盖页面头部
    if ([self shouldAdjustEdge]) {
        self.edgesForExtendedLayout = UIRectEdgeNone;
    }
    //所有页面统一的背景色
    [self.view setBackgroundColor:PUBLIC_BG];
    
}

-(BOOL)shouldAdjustEdge{
    return YES;
}


@end
